#include <iostream>

using namespace std;

struct A
{
	int& i1;
	int& i2;
};

struct B
{
	int* i1;
	int* i2;
};

int main()
{
	cout << sizeof(A) << endl;
	cout << sizeof(B) << endl;

	int i = 1;
	int& ref = i;
	cout << sizeof(ref) << endl;

	return 0;
}